package com.ytjj.qmyx.admin.model;

import java.io.Serializable;
import java.util.Date;

public class AdminModuleLog implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 账号id
     *
     * @mbg.generated
     */
    private Integer adminId;

    /**
     * 操作人
     *
     * @mbg.generated
     */
    private String adminName;

    /**
     * 操作类型 1-新增 2-修改 3-删除
     *
     * @mbg.generated
     */
    private Integer optType;

    /**
     * 关联号：子订单号/服务单号/主订单号 等
     *
     * @mbg.generated
     */
    private String relevantNo;

    /**
     * 模块名称
     *
     * @mbg.generated
     */
    private String moduleName;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 状态 0-正常 1-删除
     *
     * @mbg.generated
     */
    private Integer isDeleted;

    /**
     * 父关联号，是关联号的上一级
     *
     * @mbg.generated
     */
    private String parentRelevantNo;

    /**
     * 当前数据json
     *
     * @mbg.generated
     */
    private String contentJson;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public Integer getOptType() {
        return optType;
    }

    public void setOptType(Integer optType) {
        this.optType = optType;
    }

    public String getRelevantNo() {
        return relevantNo;
    }

    public void setRelevantNo(String relevantNo) {
        this.relevantNo = relevantNo;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getParentRelevantNo() {
        return parentRelevantNo;
    }

    public void setParentRelevantNo(String parentRelevantNo) {
        this.parentRelevantNo = parentRelevantNo;
    }

    public String getContentJson() {
        return contentJson;
    }

    public void setContentJson(String contentJson) {
        this.contentJson = contentJson;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", adminId=").append(adminId);
        sb.append(", adminName=").append(adminName);
        sb.append(", optType=").append(optType);
        sb.append(", relevantNo=").append(relevantNo);
        sb.append(", moduleName=").append(moduleName);
        sb.append(", createTime=").append(createTime);
        sb.append(", isDeleted=").append(isDeleted);
        sb.append(", parentRelevantNo=").append(parentRelevantNo);
        sb.append(", contentJson=").append(contentJson);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}